def stock_info_exchange(stock_dic: dict):
    stock_dict_up150 = {k: v for k, v in stock_dic.items() if v > 150}
    stock_dict_exchange = {v: k for k, v in stock_dic.items()}

    return stock_dict_up150, stock_dict_exchange


if __name__ == '__main__':
    stock = {'MSFT': 165.51, 'FB': 174.79, 'YHOO': 19.63, 'IBM': 121.15, 'GOOGLE': 1210.41}

    print(stock_info_exchange(stock)[0])
    print(stock_info_exchange(stock)[1])
